package ustc.xiaoyang.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 员工实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Emp {
    private Integer id;
    private String username;
    private String password;
    private String name;
    private Integer gender;//性别, 1:男, 2:女
    private String phone;
    private Integer job;//职位, 1:班主任,2:讲师,3:学工主管,4:教研主管,5:咨询师
    private Integer salary;
    private String image;
    private LocalDate entryDate;
    private Integer deptId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    //封装部门名称数
    private String deptName; //部门名称
    //封装工作经历
    private List<EmpExpr> exprList;


}
